package com.terrace.db.system.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.terrace.db.system.mapper.entity.Organization;

public interface OrganizationDao {
	
	public int saveOrganizationSelective(Organization org);

	public int deleteOrganizationById(String orgId);

	public int updateOrganizationByIdSelective(Organization org);

	public Organization selectOrganizationById(String orgId);
	
	public List<Organization> selectOrganizationsByUserId(@Param("userId") String userId);
	
	public List<Organization> selectOrganizationForPagination(Organization org);

}